home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
gs24src.zip
/
GSCONFIG.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-03-07
|
729b
|
32 lines
@echo off
if '%1'=='+' goto noinit
echo + >_temp_.dob
echo # >_temp_.dow
echo /* */ >_temp_.dh
echo /* */ >_temp_.dop
echo + >_temp_.dlb
echo %% >_temp_.dps
echo @echo off >_temp_.bat
goto top
:noinit
shift
:top
if '%1'=='' goto done
if '%1'=='+' goto nofin
type %1 >>_temp_.bat
shift
goto top
:done
command /c _temp_.bat
sort <_temp_.dob | %GS_RUN_EXE% uniq >obj.tr
sort <_temp_.dow | %GS_RUN_EXE% uniq >objw.tr
if exist gconfig.h erase gconfig.h
rename _temp_.dh gconfig.h
sort <_temp_.dop | %GS_RUN_EXE% uniq >>gconfig.h
if exist lib.tr erase lib.tr
rename _temp_.dlb lib.tr
sort <_temp_.dps | %GS_RUN_EXE% uniq >gconfig.ps
erase _temp_.d*
erase _temp_.bat
:nofin